package bridge.a2;

import bridge.sample.CountDisplay;

import java.io.File;

public class Main {
    public static void main(String[] args) {
        CountDisplay d = new CountDisplay(new FileDisplayImpl(getDatePath()));
        d.multiDisplay(3);
    }

    private static String getDatePath() {
        return System.getProperty("user.dir")
                + File.separator + "src"
                + File.separator + "main"
                + File.separator + "java"
                + File.separator + "bridge"
                + File.separator + "a2"
                + File.separator + "star.txt";
    }
}
